using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SharePoint;

namespace MOSS.CustomAdminPages.UserMembership.Feature
{
    public class FeatureReceiver : SPFeatureReceiver
    {
        public override void FeatureActivated(SPFeatureReceiverProperties properties)
        {
            //using (SPWeb web = (SPWeb)properties.Feature.Parent)
            //{
                //NOTE: The code below is used to get the breadcrumb to appear in your custom admin pages. 
                //      This updates the SiteMapProvider with the necessary entries for your application.
                //UpdateLayoutsSitemap uls = new UpdateLayoutsSitemap(web.Site.WebApplication);
                //uls.AddEntry("Add User Membership", "/_layouts/AddUM.aspx", "/_layouts/ViewUMList.aspx");
                //uls.AddEntry("Remove User Membership", "/_layouts/EditUM.aspx", "/_layouts/ViewUMList.aspx");
                //uls.SubmitJob();
            //}
        }
        public override void FeatureDeactivating(SPFeatureReceiverProperties properties)
        {
        }
        public override void FeatureInstalled(SPFeatureReceiverProperties properties)
        {
        }
        public override void FeatureUninstalling(SPFeatureReceiverProperties properties)
        {
        }

    }
}

